package by.epam.trenings.vkphotorest.requests;

import by.epam.trenings.vkphotorest.auth.VkOauth;

public class PhotoRequestsBuilder {

	public static final String BASE_URL = "https://api.vk.com/method/";

	public static String getAllAlbums() {
		String responseUrl = BASE_URL + "photos.getAlbums?need_covers=1";
		return responseUrl = VkOauth.sign(responseUrl);
	}

	public static String getAllAlbymPhotos(String aid) {
		String userID = VkOauth.getUserId();
		String responseUrl = BASE_URL + "photos.get?uid=" + userID + "&aid="
				+ aid;
		return VkOauth.sign(responseUrl);
	}

}
